package cn.snailteam.recruitment.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * TrainingNewsCategories entity. @author MyEclipse Persistence Tools
 */

public class TrainingNewsCategories implements java.io.Serializable {

	// Fields

	private Integer id;
	private String categoryName;
	private Set trainingNewsLists = new HashSet(0);

	// Constructors

	/** default constructor */
	public TrainingNewsCategories() {
	}

	/** minimal constructor */
	public TrainingNewsCategories(String categoryName) {
		this.categoryName = categoryName;
	}

	/** full constructor */
	public TrainingNewsCategories(String categoryName, Set trainingNewsLists) {
		this.categoryName = categoryName;
		this.trainingNewsLists = trainingNewsLists;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCategoryName() {
		return this.categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Set getTrainingNewsLists() {
		return this.trainingNewsLists;
	}

	public void setTrainingNewsLists(Set trainingNewsLists) {
		this.trainingNewsLists = trainingNewsLists;
	}

}